Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    0 + y  → y
2:    s(x) + y  → s(x + y)
3:    p(x) + y  → p(x + y)
4:    minus(0)  → 0
5:    minus(s(x))  → p(minus(x))
6:    minus(p(x))  → s(minus(x))
7:    0 * y  → 0
8:    s(x) * y  → (x * y) + y
9:    p(x) * y  → (x * y) + minus(y)
There are 9 dependency pairs:
10:    s(x) +# y  → x +# y
11:    p(x) +# y  → x +# y
12:    MINUS(s(x))  → MINUS(x)
13:    MINUS(p(x))  → MINUS(x)
14:    s(x) *# y  → (x * y) +# y
15:    s(x) *# y  → x *# y
16:    p(x) *# y  → (x * y) +# minus(y)
17:    p(x) *# y  → x *# y
18:    p(x) *# y  → MINUS(y)
The approximated dependency graph contains 3 SCCs: {10,11}, {12,13} and {15,17}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.02 seconds)   ---  May 3, 2006